package edu.maping.easy;

import edu.maping.easy.model.Point;

public class Util {

	public static double getDistance(Point p1, Point p2) {

		double dist = (p1.x - p2.x) * (p1.x - p2.x) + (p1.y - p2.y)
				* (p1.y - p2.y);
		dist = Math.sqrt(dist);
		return dist;
	}
}
